import requests
url = 'https://music.163.com/#/discover/toplist?id=3779629'
headers = {
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36',
    'referer':'https://music.163.com/',
}

resp = requests.get(url,headers=headers)
print(resp.text)